﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class admin_property_add_confirmation : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Write(Session["p_id"]);
        if (!Page.IsPostBack) // when page loads first time
        {
            Session["p_id"] = null;
            Session.Clear();
            Session["myTable"] = null;
            Session.Remove("myTable");
            Session.Remove("p_id");
            Session.Clear();
            Session.Abandon();
            Session.RemoveAll();

            Session.Contents.RemoveAll();

        

          
        }
       
        //Label2.Text = Session["email"].ToString();
    }
    protected void LinkButton1_Click(object sender, System.EventArgs e)
    {
        Session.Clear();
        Response.Redirect("../admin.aspx");
    }
}